﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ProductsCatalog.aspx.cs" Inherits="Main.ProductsCatalog" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<asp:Table ID="Table2"  runat="server">
<asp:TableRow>
<asp:TableCell><asp:TextBox ID="txtSearch" runat="server" Width="260px"></asp:TextBox></asp:TableCell>
<asp:TableCell ><asp:Button ID="btnSearch" runat="server" Text="Search" OnClick="btnSearch_Click" /></asp:TableCell>
</asp:TableRow>
</asp:Table>

<asp:Label ID="lblSearchError" runat="server" Visible="false"></asp:Label>


<asp:Table ID="tblResult" runat="server" Visible="false" Width="254px" 
        Height="76px">
<asp:TableRow Height="20px"><asp:TableCell Height="20px"></asp:TableCell></asp:TableRow>
<asp:TableRow>
<asp:TableCell><asp:ListBox ID="listResult" runat="server" Width="335px" Height ="200px"></asp:ListBox></asp:TableCell>
</asp:TableRow>
</asp:Table>

<%--<asp:Table ID="tblBtn" runat="server" Visible="false">
<asp:TableRow>
<asp:TableCell ><asp:Button ID="btnShow" runat="server" Text="Show Invoice" OnClick="btnShow_Click" /></asp:TableCell>
</asp:TableRow>
</asp:Table>--%>

<asp:Table runat="server" >
<asp:TableRow Height="50px"><asp:TableCell Height="50px"></asp:TableCell></asp:TableRow>
<asp:TableRow Height="50px"><asp:TableCell Height="50px">
<asp:Label ID="Label1" runat="server" ><i>Create New</i></asp:Label></asp:TableCell></asp:TableRow>
<asp:TableRow  Height="20px">
<asp:TableCell Height="20px"><asp:Label ID="lblName" runat="server" >Name:</asp:Label></asp:TableCell>
<asp:TableCell><asp:TextBox ID="txtName" runat="server" Width="250px"></asp:TextBox></asp:TableCell>
</asp:TableRow>

<asp:TableRow>
<asp:TableCell><asp:Label ID="lblType" runat="server">Type:</asp:Label></asp:TableCell>
<asp:TableCell><asp:TextBox ID="txtType" runat="server" Width="250px"></asp:TextBox></asp:TableCell>
</asp:TableRow>

<asp:TableRow>
<asp:TableCell><asp:Label ID="lblPrice" runat="server">Price:</asp:Label></asp:TableCell>
<asp:TableCell><asp:TextBox ID="txtPrice" runat="server" Width="250px"></asp:TextBox></asp:TableCell>
</asp:TableRow>

<asp:TableRow>
<asp:TableCell></asp:TableCell>
<asp:TableCell HorizontalAlign="Right"><asp:Button ID="btnCreate" runat="server" Text="Create" OnClick="btnCreate_Click" /><asp:Button ID="btnReset" runat="server" Text="Reset" OnClick="btnReset_Click"/></asp:TableCell>
</asp:TableRow>
</asp:Table>

<asp:Table ID="Table1" runat="server">
<asp:TableRow Height="20px">
<asp:TableCell Height="20px">
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell>
<asp:Label ID="lblError" runat="server"></asp:Label>
</asp:TableCell>
</asp:TableRow>
</asp:Table>

</asp:Content>
